import upRequest from '@/utils/upload'
import { BaseResponse } from '../base'

export function upload(filePath: string, fileName: string): Promise<BaseResponse> {
  return upRequest({ url: '/file/upload', filePath, fileName })
}